<style>
	input[name=food_search_submit]{
		height: 25px;
		line-height: 10px;
		position: relative;
		top:-3px;
	}
</style>
<div class='food_multi_operate'>
	<span class='food_multi_delete'>删除</span>
	<span class='food_multi_forbidden'>禁用</span>
	<span class='food_multi_recover'>恢复</span>
	<span class='food_multi_recomment'>推荐</span>
	<span class='food_multi_recomment_no'>取消推荐</span>
	<div class='food_search'>
		<form name='food_search' action="" onsubmit='return false;'>
			<select name="type" >
				<option value="">--请选择--</option>
				<foreach name='goods_search_type' item='vo'>
					<option value="<{$vo.goods_type_id}>" <if condition="$vo.goods_type_id eq $t"> selected </if>><{$vo.goods_type_name}></option>
				</foreach>
			</select>
			<input type="text" name="search_content" value="<present name='c'><{$c}></present>"/>
			<input type="submit" name='food_search_submit' class='btn btn-success btn-sm' value='查询'/>
		</form>

	</div>
</div>
<form name='food_mutil_operate' action="">
	<table class="table table-hover food_list">
			<tr class="active">
				<th class='multi_th'><input type="checkbox" name='food_all'></th>
				<th class='num_th'>编号</th>
				<th class='food_pic_th'>商品图片</th>
				<th class='food_name_th'>商品名称</th>
				<th class='food_price_th'>单价/会员单价</th>
				<th class='food_pv_th'>点击数/购买数</th>
				<th>操作</th>
			</tr>
			<foreach name='food_data' item='each_food'>
				<tr data-id=<{$each_food.goods_id}>>
					<td><input type="checkbox" name='goods_id[]' value="<{$each_food.goods_id}>"></td>
					<td><{$each_food.goods_id}></td>
					<td>
						<foreach name='each_food.goods_pic' item='pic_v'>
							<div class='list_show_pic'>
								<img src="<{$pic_v}>" alt="" rel='asdf' class='list_show_img'>
							</div>
						</foreach>
					</td>
					<td><{$each_food.goods_name}></td>
					<td><{$each_food.goods_price}>/<{$each_food.goods_uprice}></td>
					<td><{$each_food.goods_pv}>/<{$each_food.goods_solds}></td>
					<td class='food_operate' >							
						<span class='food_delete'>删除</span>
					<if condition="$each_food.goods_status == 'Y'">
						<span class='food_forbidden'>禁用</span>
					<else />
						<span class='food_forbidden_on'>恢复</span>
					</if>
					<span class='food_edit'>编辑</span>
					<if condition="$each_food.goods_recomment == 'Y'">
						<span class='food_recomment_no'>取消推荐</span>
					<else />
						<span class='food_recomment'>推荐</span>
					</if>	
				</td>
				</tr>
			</foreach>
	</table>
</form>
<div class='food_page_show page_show'><{$food_page}></div>	